/**
 * Copyright ToFBA Ecommerce Logistics LTD. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 * No body can copy or modify any part of this source without the permission of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 *   _________    ___   ________  ______        _       
 *  |  _   _  | .'   `.|_   __  ||_   _ \      / \      
 *  |_/ | | \_|/  .-.  \ | |_ \_|  | |_) |    / _ \     
 *      | |    | |   | | |  _|     |  __'.   / ___ \    
 *     _| |_   \  `-'  /_| |_     _| |__) |_/ /   \ \_  
 *    |_____|   `.___.'|_____|   |_______/|____| |____|
 *                                                
 */
package com.lmexpress.orm.newgistics;

import java.io.Serializable;
import java.math.BigDecimal;

@SuppressWarnings("serial")
public class Dimension implements Serializable {
    private BigDecimal length;// The longest dimension. Required by the dimension object.
    private BigDecimal height;// The second longest dimension. Required by the dimension object. Height helps determine a parcel’s girth.
    private BigDecimal width;// The smallest dimension. Required by the dimension object. Width helps determine a parcel’s girth.Note: The PB Shipping APIs will automatically reassign values to ensure
                             // width is assigned the smallest dimension.
    private String unitOfMeasurement = "CM";// The unit of measure. Required by the dimension object For USPS shipments, set this to IN.Valid values:IN: inches ;CM: centimeters
    private String irregularParcelGirth;
    
    public BigDecimal getLength() {
        return length;
    }
    
    public void setLength(BigDecimal length) {
        this.length = length;
    }
    
    public BigDecimal getHeight() {
        return height;
    }
    
    public void setHeight(BigDecimal height) {
        this.height = height;
    }
    
    public BigDecimal getWidth() {
        return width;
    }
    
    public void setWidth(BigDecimal width) {
        this.width = width;
    }
    
    public String getUnitOfMeasurement() {
        return unitOfMeasurement;
    }
    
    public void setUnitOfMeasurement(String unitOfMeasurement) {
        this.unitOfMeasurement = unitOfMeasurement;
    }
    
    public String getIrregularParcelGirth() {
        return irregularParcelGirth;
    }
    
    public void setIrregularParcelGirth(String irregularParcelGirth) {
        this.irregularParcelGirth = irregularParcelGirth;
    }
    
    @Override
    public String toString() {
        return "Dimension [length=" + length + ", height=" + height + ", width=" + width + ", unitOfMeasurement=" + unitOfMeasurement + ", irregularParcelGirth=" + irregularParcelGirth + "]";
    }
}